package itsm.isperp.module.repository.wechat;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.wechat.WechatChat;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface WechatChatMapper extends CUDMapper<WechatChat> {

	public List<Map<String, Object>> findAllGroupByOpenid();

	public List<WechatChat> listChats(@Param("openid") String openid);

}
